package com.cskaoyan.mapper;

import com.cskaoyan.bean.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import com.cskaoyan.bean.Student;

public interface StudentMapper {

    Student getStuById(@Param("id") Integer id);

    List<Student> queryStudentBySurname(@Param("surname") String surname);

    int deleteStudentById(@Param("id") Integer id);

    List<Student> selectStudentList(List<Integer> list);


    //获取所有的学生
    List<Student> selectStudent();
    //chuli
    Student getStuByName(String name);

}
